﻿using System;
using System.ComponentModel;

namespace XamlMvp
{
    public interface IViewPage<TViewModel> : IViewPage
    {
        event EventHandler<CancelEventArgs> BackKeyPress;
        event EventHandler Saving;
        event EventHandler Canceled;
        event EventHandler Deleted;                    

        TViewModel Model { get; set; }
    }
}
